package org.wang.portal.core;

import org.wang.portal.task.TaskOrchestrator;

public class TaskOperationStrategy implements OperationStrategy {
    @Override
    public void execute(String[] args) {
        if (args.length < 2) {
            System.out.println("Usage: Main task <create/delete/update/query/check/start/stop>");
            System.exit(1);
        }
        TaskOrchestrator taskOrchestrator = new TaskOrchestrator();
        taskOrchestrator.executeTemplate(args[1]);
    }
}